package com.ssl.admin.repo;

import com.ssl.admin.pojo.CommodityCategoryBrand;
import com.ssl.admin.pojo.CommodityCategoryBrandPK;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CommodityCategoryBrandRepository extends JpaRepository<CommodityCategoryBrand, CommodityCategoryBrandPK> {
    void deleteByCategoryId(Long categoryId);

    void deleteByBrandId(Long brandId);
}
